import request from '@/utils/request'

const uumsPrefix = '/uums'

const utilityPrefix = '/UtilityConfiguration'

// 查询定制后的菜单列表
export function utilityListSelect(args) {
  return request({
    url: uumsPrefix + utilityPrefix + '/getUtilityList',
    method: 'POST',
    data: args
  })
}

// 查询有权限的菜单列表
export function utilityUserMenuSelect(args) {
  return request({
    url: uumsPrefix + utilityPrefix + '/getUtilityUserMenu',
    method: 'POST',
    data: args
  })
}


// 批量新增列表
export function utilitybatchByUserId(args) {
  return request({
    url: uumsPrefix + utilityPrefix + '/batchByUserId?userId='+args.userid,
    method: 'POST',
    data: args.date
  })
}
